package day03;

//a,b还是两个整形变量，同样的要求，把两个变量的值互换
//输出a = 10;b = 20;
public class Demo04 {


    public static void main(String[] args) {
        int a = 20;
        int b = 10;

        a = a + b; //30或者初始的a和b的和
        b = a - b;//a-b等于初始的a
        a = a - b;//a-b等于初始的b






    }







}
